AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )

include('shared.lua')


function ENT:Initialize()
	
	self:SetModel( "models/alyx.mdl" )
	self:SetHullType( HULL_HUMAN ) -- Sets the hull type, used for movement calculations amongst other things.
	self:SetHullSizeNormal( )
	self:SetNPCState( NPC_STATE_SCRIPT )
	self:SetSolid(  SOLID_BBOX ) -- This entity uses a solid bounding box for collisions.
	self:CapabilitiesAdd( CAP_ANIMATEDFACE | CAP_TURN_HEAD ) -- Adds what the NPC is allowed to do ( It cannot move in this case ).
	self:SetUseType( SIMPLE_USE ) -- Makes the ENT.Use hook only get called once at every use.
	self:DropToFloor()
	self:SetPlaybackRate(1.0)
		
	self:SetMaxYawSpeed( 90 ) --Sets the angle by which an NPC can rotate at once.
	self:SetSequence(self:LookupSequence("sexyidle"))
	
end

function ENT:OnTakeDamage()
	return false
end 

function ENT:Think()
	self:NextThink(CurTime())
	return true
end


